//
//  NSString+boundRect.h
//  KSBridgeDesign
//
//  Created by huzhaoke on 2022/1/9.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface NSString (boundRect)

- (CGSize)ks_sizeWithFont:(UIFont *)font;

- (CGSize)ks_sizeWithFont:(UIFont *)font constrainedToSize:(CGSize)size;

- (CGSize)ks_sizeWithFont:(UIFont *)font constrainedToSize:(CGSize)size lineBreakMode:(NSLineBreakMode)lineBreakMode;

- (CGSize)ks_sizeWithFont:(UIFont *)font forWidth:(CGFloat)width lineBreakMode:(NSLineBreakMode)lineBreakMode;

@end

NS_ASSUME_NONNULL_END
